/* 头部 */


header {
    width: 100%;
    display: flex;
    height: 72px;
    background-color: white;
    font-size: 16px;
    position: fixed;
    top: 0;
    border-bottom: 1px solid rgb(218, 218, 218);
    z-index: 10;
}

        .header_left {
            width: 50%;
            font-weight: bolder;
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            padding-right: 100px;
        }

.header_left img {
    width: 40px;
    height: 40px;

}


.header_menu span {
    font-size: 25px;
    width: 40px;
    height: 40px;
}

.header_right {
    padding-right: 80px;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.header_right span {
    font-size: 22px;
}

.header_right input {
    width: 260px;
    height: 40px;
    text-indent: 0;
    /* height: 100%; */
    background-color: transparent;
    padding-left: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* border-style: none; */
    border: 1px solid gray;
    background-color: white;
}

        .search {
            display: flex;
            justify-content: left;
            align-items: center;
            /* border-collapse: collapse; */
        }

.header_right .search_a {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(218, 218, 218);
    border-left: 0;
}

/* main 开始*/
main {

    margin-top: 100px;
    /* width: 100%; */
    height: 100%;
    border: 1px solid rgb(218, 218, 218);
    display: flex;
    /* margin-left: 40%; */

}

/* main左侧 */
.main_left {
    width: 450px;
    height: 600px;
    /* background-color: antiquewhite; */
    margin-left: 100px;
    margin-top: 20px;
    border: 2px solid rgb(218, 218, 218);
    padding-left: 20px;
}

/* main右侧 */
.main_right {
    width: 600px;
    height: 800px;
    /* background-color: yellowgreen; */
    border: 2px solid rgb(218, 218, 218);
    margin-left: 100px;
    margin-top: 20px;
    padding-top: 20px;
    padding-left: 30px;
    padding-top: 50px;
}

.title p {
    font-size: 18px;
    font-weight: 800;
    /* margin-left: 20px; */
}

.shopPrice {
    margin-left: 20px;
}

.marketPrice {
    font-size: 22px;
    color: rgb(242, 88, 7);
    font-weight: 800;
    margin-left: 16px;
}

.price {
    width: 250px;
    margin-top: 20px;
    padding: 20px;
    border: 1px dashed gainsboro;
}

.goodsbody {
    color: rgba(227, 61, 61, 0.829);
    font-size: 18px;
    /* margin-top: 20px; */
}

/* 更多信息 */
.moreDetails {
    width: 100%;
    height: 120px;
}

.location{
    background-color: rgb(250,250,250);
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 600px;
    height: 80px;
    /* border: 1px solid rgb(190, 187, 187); */
    margin-top: 30px;
}
.location select{
    height: 25px;
    border: 0;
}

/* 购买  加入购物车*/

.add {
     color: white;
    background-color: rgb(255,103,0);
    width: 300px;
    height: 50px;
    margin-right: 10px;
    border: 1px solid rgb(255,103,0);
}
.add:hover{
    background-color: rgb(242,88,7);
}
.like{
    width: 140px;
    height: 50px;
    color: white;
    background-color: rgb(176,176,176);
    border: 1px solid rgb(176,176,176);
}
.like:hover{
    background-color: rgb(117,117,117);
}
.buyButton {
    color: rgb(242, 88, 7);
    background-color: rgb(255, 237, 237);
}

.addCart {
    color: white;
    /* background-color:rgb(255,0,54) ; */
}




/* 放大镜模块 */

.middleBox {
    width: 400px;
    height: 430px;
    border: 1px dashed rgb(159, 157, 157);
    position: relative;
    /* padding: 30px auto; */
    /* padding-top: 15px ; */
}

.middleBox img {
    width: 400px;
    height: 400px;
    display: block;
    margin-top: 20px;
}

.shadow {
    width: 100px;
    height: 100px;
    background: rgb(232, 232, 229);
    position: absolute;
    left: 100px;
    top: 0;
    opacity: 0.5;
    display: none;
    z-index: 10;
}

.smallBox {
    margin-top: 10px;

}

.smallBox img {
    border: 1px solid #000;
    margin-left: 5px;
    width: 50px;
    height: 50px;
}

.smallBox img.active {
    border-color: rgb(242, 88, 7);
    border: 1px dashed rgb(242, 88, 7);
}

.box {
    margin: 50px;
    width: 402px;
    position: relative;
    margin-left: 10px;
}

.bigBox {
    width: 400px;
    height: 400px;
    border: 1px solid #000;
    position: absolute;
    top: 0;
    left: 105%;
    display: none;
    background-image: url(./images/big1.jpg);
    background-position: 0 0;
    background-size: 1600px 1600px;
    background-repeat: no-repeat;
}

.shadow:hover {
    cursor: move;
}